home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / util / cli / for16.readme < prev    next >
Encoding:
Text File  |  1993-06-03  |  855 b   |  21 lines

  1. Short: Use wildcards for nearly every program
  2. Type: util/cli
  3. Uploader: fillg1@uni-paderborn.de
  4.  
  5. 'for' is intendend to give wildcards to programs like MuchMore which do not
  6. support wildcards by themself. Its command template is
  7.  
  8. for FILE,CMD,EXEC/S,ALL/S
  9.  
  10. FILE     is a filename expression, usually with wildcards. default #?
  11. CMD     is a command string like "MuchMore %s" (notice the quotes !). It
  12.     supports some printf-like expressions.
  13.     %f  the complete filename including the path
  14.     %s  the complete filename without path
  15.     %p  the path of the argument file, without a trailing / or : !!!
  16.     %b  the basename of the file, this is the filename upto the first '.'.
  17.     the default is "%f"
  18. EXEC    the execute flag, if not given, for will only display the commands,
  19.     but not execute them.
  20. ALL     the all flag, directories will be entered (MatchFirst/MatchNext feature!)
  21.